f = open('routes.txt', 'r')
f2 = open('routes2.txt', 'w')
for line in f:
    line = line.replace('[','')
    line = line.replace(']','')
    line = line.replace('(','')
    line = line.replace('),','\n')
    line = line.replace(')]','')
    f2.write(line)
    f2.write('\n')
